const userDetailOption: object = {
  size: "large",
  detail: true,
  labelWidth: 150,
  submitBtn: false,
  emptyBtn: false,
  column: [
    {
      label: "手机号",
      span: 24,
      prop: "mobile",
    },
    {
      label: "姓名",
      span: 8,
      prop: "name",
    },
    {
      label: "性别",
      span: 8,
      prop: "sex",
    },
    {
      label: "户籍所在地",
      span: 8,
      prop: "domicile_full",
    },
    {
      label: "身份证号码",
      span: 16,
      prop: "id_card",
    },
    {
      label: "年龄",
      span: 8,
      prop: "age",
    },
    {
      label: "申请改造家庭住址",
      span: 24,
      prop: "address_citys",
    },
    {
      label: "住址详情",
      span: 24,
      prop: "address_detail",
    },
    {
      label: "家庭基本情况",
      span: 24,
      type: "textarea",
      prop: "family_situation",
    },
    {
      label: "住宅情况",
      span: 6,
      prop: "house_situation",
    },

    {
      label: "房产证号",
      span: 6,
      prop: "house_number",
    },
    {
      label: "家庭人数",
      span: 5,
      prop: "family_number",
    },
    {
      label: "老年人数",
      span: 5,
      prop: "elderly_number",
    },

    {
      label: "家庭联系人",
      span: 12,
      prop: "family_contact",
    },
    {
      label: "联系电话",
      span: 12,
      prop: "family_contact_phone",
    },
    {
      label: "身份特征",
      span: 24,
      prop: "identity_characteristics",
    },
    {
      label: "拟申请改造项目",
      span: 24,
      prop: "project",
    },

    {
      labelWidth: 200,
      label: "拟申请改造项目(其他项目)",
      span: 24,
      prop: "project_other",
    },

    {
      label: "街道(乡镇)意见",
      span: 24,
      labelWidth: 200,
      prop: "street_result",
    },

    {
      label: "县(市、区)级民政部门意见",
      span: 24,
      prop: "civil_result",
      labelWidth: 200,
    },
  ],
};

const userDetailDevicesOption: object = {
  align: "center",
  menuAlign: "center",
  viewBtn: false,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  refreshBtn: true,
  columnBtn: true,
  filterBtn: false,
  gridBtn: true,
  menu: false,
  column: [
    {
      label: "ID",
      width: 50,
      prop: "id",
    },
    {
      label: "设备图",
      prop: "device_image",
      type: "img",
      alone: true,
      width: 100,
    },

    {
      label: "设备SN",
      prop: "device_sn",
      align: "left",
    },

    {
      label: "设备名称",
      align: "left",
      prop: "device_name",
    },

    {
      label: "设备类型",
      width: 100,
      prop: "device_category",
    },

    {
      label: "设备状态",
      width: 100,
      prop: "online_status",
    },

    {
      label: "设备型号",
      width: 150,
      prop: "device_model",
    },

    {
      label: "固件版本",
      width: 100,
      prop: "device_version",
    },

    {
      label: "激活时间",
      width: 170,
      prop: "activate_time",
    },

    {
      label: "inHouse",
      width: 170,
      prop: "in_house",
    },
  ],
};

export { userDetailOption, userDetailDevicesOption };
